Programming with QuickTime VR

| Previous | Chapter contents | Chapter top | Section top | Next |

MyEnteringNodeProc

You can define a routine to respond to a node's being entered.

pascal OSErr MyEnteringNodeProc (
                     QTVRInstance qtvr,
                     UInt32 nodeID,
                     SInt32 refCon);
qtvr
An instance of a QuickTime VR movie.
nodeID
The ID of the node being entered.
refCon
The reference constant specified in the call to QTVRSetEnteringNodeProc that installed this procedure.
function result
A result code.

DESCRIPTION

Your MyEnteringNodeProc procedure is called whenever a node is entered, either in response to user actions or in response to QuickTime VR Manager functions that change nodes (such as QTVRGoToNodeID ). Your procedure can do any processing it deems necessary.

SEE ALSO

Use QTVRSetEnteringNodeProc (link) to install a node-entering procedure. See Listing 2-9 for a sample node-entering procedure.


© 1997 Apple Computer, Inc.

| Previous | Chapter contents | Chapter top | Section top | Next |